<html>
<head>
    <title>Long vertical gradient with top border.</title>
    <style>
        div {
            padding: 0px;
            margin: 0px;
        }
        #topdiv {
            border-top: 1px solid black;
            width: 100px;
            height: 0px;
        }
        #bottomdiv {
            width: 100px;
            height: 33000px;
            background-color: green;
        }
    </style>
</head>
<body>
    <div><div id='topdiv'></div><div id='bottomdiv'></div></div>
</body>
</html>